package com.oo.abstractAndInterface_6.employee;

/**
 * Employee--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-17 15:38
 **/
public abstract class Employee {

    private String name;

    private int age;

    private String sex;

    private int id;

    public Employee(String name, int age, String sex, int id) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.id = id;
    }

    public Employee() {
    }

    public abstract void sayHello();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

}
